package com.bidevalution.business.vote.callbackService;

import com.bidevalution.business.exception.VoteCallbackException;
import com.bidevalution.business.exception.VoteException;
import com.bidevalution.business.vote.vi.CallStepJobVi;
import com.bidevalution.dao.entity.BeExpertVoteCallBack;

import java.util.List;

/**
 * 表决回调接口
 * 所有表决回调类都需要实现该接口
 * whc
 */
public interface VoteBaseCallback {
    /**
     *
     * @param voteCallBackList
     * @return CallStepJobVi 有返回就自动在此提交执行提交的相关流程,可以返回为null
     * @throws VoteException
     */
    CallStepJobVi callback(List<BeExpertVoteCallBack> voteCallBackList) throws VoteException;
}
